package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.Expense;
import cn.wolfcode.trip.base.mapper.ExpenseMapper;
import cn.wolfcode.trip.base.service.IExpenseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExpenseServiceImpl implements IExpenseService {

    @Autowired
    private ExpenseMapper expenseMapper;

    @Override
    public List<Expense> selectAll(Long id) {
        return expenseMapper.selectUserAllid(id);
    }
}
